<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=750, user-scalable=0">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <title>专业搬家-家庭搬运</title>
    <link rel="stylesheet" href="/Public/css/weui.css?t=20141028987051">
    <link rel="stylesheet" href="/Public/css/jquery-weui.min.css?t=20141028987051">
    <link href="/Public/css/style.css?t=20141028987051" rel="stylesheet">
    <style>
      .layout.fixed {
    padding-bottom: 280px;
}
td{
  white-space: nowrap;
} 
header{
  color: #fff;
  text-align: center;
  line-height: 110px;
}

    </style>
</head>

<body>
    <div class="layout fixed" id="page-home">
        <header>
        专业搬家-家庭搬运 订单详情
        </header>
        <div class="address-bd">
            <center>
            <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" style="line-height: 2.4rem; padding:10px; font-size:32px;">
              <tbody>
                
                <tr>
                  <td width="14%" align="left">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</td>
                  <td width="86%" align="left"><?php echo ($orderinfo["name"]); ?></td>
                </tr>
                <tr>
                  <td align="left">电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：</td>
                  <td align="left"><?php echo ($orderinfo["mphone"]); ?></td>
                </tr>
                <tr>
                  <td height="40" align="left" valign="top">预约时间：</td>
                  <td align="left" valign="top"><?php echo ($orderinfo["time"]); ?></td>
                </tr>
                <tr>
                  <td height="40" align="left" valign="top">选择车型：</td>
                  <td align="left" valign="top"><?php echo ($orderinfo["car"]); ?></td>
                </tr>
                <tr>
                  <td align="left" valign="top">出&nbsp; 发&nbsp;&nbsp;地：</td>
                  <td align="left" valign="top"><?php echo ($orderinfo["startadd"]); ?></td>
                </tr>
                <tr>
                  <td align="left" valign="top">目 &nbsp;的 &nbsp;地：</td>
                  <td align="left" valign="top"><?php echo ($orderinfo["endadd"]); ?></td>
                </tr>
                <!-- <tr>
                  <td align="left" valign="top">行李件数：</td>
                  <td align="left" valign="top"><?php echo ((isset($orderinfo["bag_num"]) && ($orderinfo["bag_num"] !== ""))?($orderinfo["bag_num"]):0); ?>件</td>
                </tr> -->
                <!-- <tr>
                  <td align="left" valign="top">
                  大件家具
                  </td>
                 <td align="left" valign="top" style="white-space:pre-line;width: 200px;"><?php echo ($orderinfo["items"]); ?></td>
                </tr> -->
                <tr>
                  <td align="left" valign="top">其他备注：</td>
                  <td align="left" valign="top"><?php echo ($orderinfo["beizhu"]); ?></td>
                </tr>
              </tbody>
            </table>
            </center>
        </div>
        
        <div class="address-bd">
            <center>
            <h2>家具详情</h2>
            <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" style="line-height: 2.4rem; padding:10px; font-size:32px;">
              <tbody>
                <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
                  <td align="left"><?php echo ($k); ?>.<?php echo ($vo["name"]); ?></td>
                  <td align="center">X<?php echo ($vo["num"]); ?></td>
                  <td align="center" valign="middle">需拆装</td>
                </tr><?php endforeach; endif; else: echo "" ;endif; ?>
              </tbody>
            </table>
            </center>
        </div>

         <div class="confirm-order">
            <button class="btnall-confirm btn-confirm" id="showpic" style="margin-top:20px;">查看图片</button>
        </div>
    </div>
    
    <script src="/Public/js/jquery.min.js?t=20141028987051"></script>
    <script src="/Public/js/jquery-weui.min.js?t=20141028987051"></script>
    <script src="/Public/js/layer.js"></script>
    <script>
      $('#showpic').click(function () {
        var url ="/index.php/order/showpic/id/"+<?php echo ($orderinfo["id"]); ?>;
        alert(url);
        window.location.href=url;
      })
    </script>
</body>
</html>